<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Insurance_Add.aspx.cs" Inherits="Admin_Insurance_Add" %>
<%@ Register Src="Include/Ad_footer.ascx" TagName="Ad_footer" TagPrefix="uc3" %>
<%@ Register Src="Include/Ad_left.ascx" TagName="Ad_left" TagPrefix="uc2" %>
<%@ Register Src="Include/Ad_header.ascx" TagName="Ad_header" TagPrefix="uc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Add Insurance Compainies</title>
    <link href="include\styles.css" rel="stylesheet" />
    <script type ="text/javascript" src="../JScript/gen_validatorv2.js"></script>  
</head>
<body>
    <form id="frmInsurance" runat="server">
    
    
                
        
            <table border="0" align="center">
            <tr><td>&nbsp;</td></tr>
            <tr><td>&nbsp;</td></tr>
            
            <tr><th>Add Insurance Company</th> </tr>
            <tr><td align="center">
            
                <table border="0" class="normalgrey_12" align="center">
                    <tr>
                        <td colspan="3">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3"> 
                <asp:Label ID="lblMsg" runat="server" CssClass="normalgrey_12"></asp:Label></td>
                    </tr>
                <tr>
                    <td style="height: 28px">Company Name</td>
                    <td style="height: 28px">:</td>
                    <td style="width: 158px; height: 28px"><asp:TextBox ID="txtCompany" runat="server" MaxLength="200" Width="256px"></asp:TextBox> </td>                
                </tr>
                
                <tr>
                    <td colspan="3" >
                        <br />
                        <asp:Button ID="btnAdd" runat="server" Text="Add" Width="77px" OnClick="btnAdd_Click" />&nbsp;<asp:Button
                            ID="btnClose" runat="server" OnClick="Button1_Click" Text="Close" /></td>                
                </tr>
                
                </table> 
                                        
            </td> </tr>
            </table>  
        
    </form>
    
    <script>
		//You should create the validator only after the definition of the HTML form    
	       var frmvalidator  = new Validator("frmInsurance","btnAdd");
	       frmvalidator.addValidation("txtCompany","req","Please Enter Company Name.");	
    </script>
    
</body>
</html>
